package com.ruoyi.DataManage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 门类管理对象 category
 *
 * @author CehnFneg
 * @date 2024-04-01
 */
public class Category extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 门类名
     */
    @Excel(name = "门类名")
    private String name;

    /**
     * 学校Id
     */
    @Excel(name = "学校Id")
    private Long universityId;

    /**
     * 学校名称
     */
    @Excel(name = "学校名称")
    private String universityName;


    /** 学科专业统计信息 */
    private List<Subject_tree> subject_treeList;

    public List<Subject_tree> getSubject_treeList() {
        return subject_treeList;
    }

    public void setSubject_treeList(List<Subject_tree> subject_treeList) {
        this.subject_treeList = subject_treeList;
    }

    public String getUniversityName() {
        return universityName;
    }

    public void setUniversityName(String universityName) {
        this.universityName = universityName;
    }


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setUniversityId(Long universityId) {
        this.universityId = universityId;
    }

    public Long getUniversityId() {
        return universityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("universityId", getUniversityId())
                .append("universityName", getUniversityName())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("subjectList", getSubject_treeList())
                .toString();
    }
}
